<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="https://www.baidu.com" method="get" style="display: none;">
    <input value="" name="password">
    <button type="submit" id="a"></button>
</form>
<form action="https://www.baidu.com" method="get" style="display: none;">
    <input value="" name="password">
    <button type="submit" id="a"></button>
</form>
<a id="ac">View</a>
<a>Edit</a>

<script src="../js/jq/jquery-1.8.3.min.js"></script>
<script>
    $("#ac").click(function () {
        $("#a").click();
    });
</script>
</body>
</html>